﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using log4net;

namespace CarLoanSystem.Web.Comman
{
    public class BLLException : Exception
    {

        private static readonly ILog log = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);

        public override string Message
        {
            get
            {
                return base.Message;
            }
        }

        public BLLException()
            : base()
        {
        }

        public BLLException(string message)
            : base(message)
        {
        }

        public BLLException(string message, Exception innerException)
            : base(message, innerException)
        {
            log.Error(innerException.ToString());
        }

    }
}
